<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('功能模块列表')" />
</head>
<body class="gray-bg">
      <div class="row">
			<div class="col-sm-12 search-collapse">
				<form id="md-module-form">
					<div class="select-list">
						<input id="sysId" name="sysId"  type="hidden"/>
					</div>
				</form>
			</div> 
		</div>	
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 select-table table-striped">
                <table id="mdModuleDialogTable"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
</body>
</html>
  <script th:inline="javascript">
        var showFlag = [[${@permission.hasPermi('system:module:showMdModuleList')}]];
        var prefix = ctx + "verify/rule";

        $(function() {debugger;
            var sysId = window.parent.document.getElementById("sysId").value;
            $("#sysId").val(sysId);
            var options = {
                url: prefix + "/showMdModuleList",
                modalName: "功能模块",
                singleSelect:true,
                columns: [{
                    checkbox: true
                },
                {
                    field: 'moduleId',
                    title: '功能模块id',
                    visible: false
                },
                {
                    field: 'sysId',
                    title: '系统id'
                },
                {
                    field: 'moduleCode',
                    title: '功能模块'
                },
                {
                    field: 'moduleName',
                    title: '功能模块名称'
                }]
            };
            $.table.init2(options,"mdModuleDialogTable");
        });
    </script>
